import React, {
  Component
} from 'react';
import {
  StyleSheet,
  Text,
  View,
  InteractionManager
} from 'react-native';
import {
  Container,
  Header,
  Title,
  Button,
  Icon,
  Content
} from 'native-base';



//组件开始
class Cart extends Component {
  constructor(props) {
    super(props);
    this.state = {};

  }



  render() {
    return (
      <Container>
                <Header>
                    <Button transparent>
                        <Icon name='ios-arrow-back' />
                    </Button>
                    
                    <Title>购物车</Title>
                    
                    <Button transparent>
                        <Icon name='ios-menu' />
                    </Button>
                </Header>
                <Content style={styles.content}>
                    <Text>Cart</Text>
                </Content>
            </Container>

    );
  }
}

//样式表
const styles = StyleSheet.create({
  description: {
    fontSize: 20,
  },
  container: {
    flex: 1,
  },
  content: {
    paddingTop: 0,
    marginTop: 0,
    top: 0
  }
});

export default Cart;